<!DOCTYPE html>
<html>
<head>
    <title>FeedbackInfoTable</title>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
    <link rel="stylesheet" href="../../css/bootstrap.min.css">
    <link rel="stylesheet" href="../../css/font-awesome.min.css">
    <link rel="stylesheet" href="../../plugins/jqgrid/ui.jqgrid-bootstrap.css">
    <link rel="stylesheet" href="../../plugins/ztree/css/metroStyle/metroStyle.css">
    <link rel="stylesheet" href="../../css/main.css">
    <script src="../../libs/jquery.min.js"></script>
    <script src="../../plugins/layer/layer.js"></script>
    <script src="../../libs/bootstrap.min.js"></script>
    <script src="../../libs/vue.min.js"></script>
    <script src="../../libs/validator.min.js"></script>
    <script src="../../plugins/jqgrid/grid.locale-cn.js"></script>
    <script src="../../plugins/jqgrid/jquery.jqGrid.min.js"></script>
    <script src="../../plugins/ztree/jquery.ztree.all.min.js"></script>
    <script src="../../libs/My97DatePicker/4.8/WdatePicker.js"></script>
    <script src="../../js/common.js"></script>
</head>
<body>
<div id="rrapp" v-cloak>
    <div v-show="showList">
        <div class="row">
            <div class="form-group col-sm-2  set-paddingLeft">
                <input type="text" class="form-control" v-model="q.key" @keyup.enter="query" placeholder="标题/内容/反馈人">
            </div>
            <div class="form-group col-sm-2">
                <select  class="form-control" id="College">
                </select>
            </div>
            <div class="form-group col-sm-2">
                <select  class="form-control" id="Profession">
                </select>
            </div>
            <div class="form-group col-sm-2">
                <select  class="form-control" id="Class">
                </select>
            </div>
        </div>
        <div class="row">
            <div class="form-group col-sm-2 set-paddingLeft">
                <input type="text" class="form-control" onfocus="WdatePicker()" id="startDate" name="startDate" placeholder="开始时间"/>
            </div>
            
            
            <div class="form-group col-sm-2">
                <input type="text" class="form-control" onfocus="WdatePicker()" id="endDate" name="endDate"  placeholder="结束时间"/>
            </div>
            <div style="align-items: center;display: flex;height: 34px">
                <span class="normal-btn normal-color" onclick="getDate('1')">今日</span>
                <span class="normal-btn normal-color" onclick="getDate('2')">本周</span>
                <span class="normal-btn normal-color" onclick="getDate('3')">本月</span>
            </div>
        </div>
        <div class="margin-Bottom">
            <span class="normal-btn search-color" @click="query">查询</span>
            <!-- <a class="btn btn-primary" @click="update"><i class="fa fa-pencil-square-o"></i>&nbsp;查看</a> -->
            <span class="normal-btn normal-color" @click="update">查看</span>
        </div>
            
        <table id="jqGrid"></table >
        <div id="jqGridPager"></div>
    </div>

    <div v-show="!showList" class="panel panel-default">
        <div class="panel-heading" style="display: flex;justify-content: space-between;align-items: center;">
            <span>{{title}}</span>
            
            <!-- <input type="button" class="return-btn" @click="reload" value="返回"/> -->
            <span class="return-btn" @click="reload">返回</span>
        </div>

        <form class="form-horizontal">
            <!--<div class="form-group">-->
                <!--<div class="col-sm-2 control-label">图片id</div>-->
                <!--<div class="col-sm-10">-->
                    <!--<input type="text" class="form-control" v-model="FeedbackInfo.id" placeholder="公告id"/>-->
                <!--</div>-->
            <!--</div>-->
            <div class="form-group">
                <div class="col-sm-2 control-label">标题</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="FeedbackInfo.title" placeholder="标题" readonly="readonly"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">内容</div>
                <div class="col-sm-10">
                    <!--<input type="text" class="form-control" v-model="FeedbackInfo.content" placeholder="内容" readonly="readonly"/>-->
                    <textarea v-model="FeedbackInfo.content" placeholder="内容" style="width: 500px;height: 500px" readonly="readonly"></textarea>

                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">反馈人</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="FeedbackInfo.studentName" placeholder="创建人" readonly="readonly"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">所属班级</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="FeedbackInfo.studentClassId" placeholder="所属班级" readonly="readonly"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">所属学院</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="FeedbackInfo.studentDepartment" placeholder="所属学院" readonly="readonly"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">反馈时间</div>
                <div class="col-sm-10">
                    <input type="text" class="form-control" v-model="FeedbackInfo.greateDate" placeholder="反馈时间" readonly="readonly"/>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label">图片内容</div>
                <div class="col-sm-10">
                    <div id="images"></div>
                </div>
            </div>
            <div class="form-group">
                <div class="col-sm-2 control-label"></div>
                
            </div>

        </form>
    </div>
</div>

<script src="../../js/modules/jxgk/feedback_info.js?v=1.1"></script>
</body>
</html>